/**
 * runner
 */
package com.whilefor.runner.modules.runner.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.whilefor.runner.common.persistence.Page;
import com.whilefor.runner.common.service.CrudService;
import com.whilefor.runner.modules.runner.entity.RunnerConsumer;
import com.whilefor.runner.modules.runner.dao.RunnerConsumerDao;

/**
 * 消费者管理Service
 * @author lins
 * @version 2016-04
 */
@Service
@Transactional(readOnly = true)
public class RunnerConsumerService extends CrudService<RunnerConsumerDao, RunnerConsumer> {

	public RunnerConsumer get(String id) {
		return super.get(id);
	}
	
	public List<RunnerConsumer> findList(RunnerConsumer runnerConsumer) {
		return super.findList(runnerConsumer);
	}
	
	public Page<RunnerConsumer> findPage(Page<RunnerConsumer> page, RunnerConsumer runnerConsumer) {
		return super.findPage(page, runnerConsumer);
	}
	
	@Transactional(readOnly = false)
	public void save(RunnerConsumer runnerConsumer) {
		super.save(runnerConsumer);
	}
	
	@Transactional(readOnly = false)
	public void delete(RunnerConsumer runnerConsumer) {
		super.delete(runnerConsumer);
	}
	
}